#include <stdio.h>
#include <time.h>

# define SPEED_LV1      70000

int other_cars (int laneSpeed, WINDOW *wnd, int row);
int drawLanesEasy(int laneSpeed, WINDOW *wnd, int row);
int lanecar;            //tells which lane will have not opponent car
                        //will be put in a struct at later time

//below is an example of how to call these functions to get the desired effect



/*
int main(void)
{
        WINDOW *wnd;            //create a window pointer
        int     carRow=0,       //carRow and laneRow store the rows the functions last stoped printing on
                laneRow=0;

        initscr();              //start ncurses
        wnd =newwin(0,0,0,0);   //make the wnd pointer point to a new window
        while(TRUE)
        {
                laneRow = drawLanesEasy(SPEED_LV1, wnd, laneRow);               //call draw lanes with speed constant, window pointer, and the row it was last on
                carRow = other_cars(SPEED_LV1 , wnd, carRow);   //same as above but prints the "other" cars
                carRow+=1;      //move car one space down
                laneRow+=3;     //move lanes down by 3 to allow spaces in the lines
        }
        endwin();
        return 0;
}
*/
